package com.spic.business.plan.team.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 应急人员对象 plan_user
 *
 * @author spic
 * @date 2021-11-10
 */
@Data
public class PlanUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @NotNull
    private Long userId;
    @TableField(exist = false)
    private  String userName;
    /** 联系方式 */
    @Excel(name = "联系方式")
    @NotNull
    private String phone;

    /** 应急队伍id */
    @Excel(name = "应急队伍id")
    private Long teamId;
    /** 应急队伍*/
    @TableField(exist = false)
    private  String teamName;

    /** 分组id */
    @Excel(name = "分组id")
    private Long groupId;
    /** 分组 */
    @TableField(exist = false)
    private  String groupName;

    /** 岗位id */
    @Excel(name = "岗位id")
    @NotNull
    private Long postId;
    /** 应急岗位 */
    @TableField(exist = false)
    private  String  postName;

}
